package com.movie.ticket.sale.movieinterface.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ticket
 * @since 2020-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_movie_person")
public class TMoviePerson implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 电影演职人员关联表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer movieId;

    /**
     * 演职人员
     */
    private Integer personId;

    /**
     * 0：演员 1：导演
     */
    private Integer type;


}
